#ifndef _LED_DISPLAY_H
#define _LED_DISPLAY_H
#include "gd32e23x.h"
#define BLUE_LED_IDLE              0
#define VOL_CHANGE_MODE            1
#define GATEWAY_PAIR_MODE             2
#define GATEWAY_UNPAIR_MODE       3
#define MUSIC_CHANGE_MODE          4
#define DOORBELL_PLAY_MODE          5

#define RED_LED_IDLE              0
#define ADD_SUBDEV_MODE           1
#define SMARTCONFIG_MODE          2
#define AP_MODE                   4
#define GATEWAY_ONLINE_MODE       6
#define GATEWAY_CONFIGED_BUT_NOT_CONNECT_CLOUD       7

#define PROMPT_SMARTCONFIG_MODE          8
#define PROMPT_AP_MODE                   9
#define GATEWAY_RESET_FACTORY_MODE       10

void led_dispaly_init(void);
void led_timer_int_handler(void);
uint8_t close_red_display_addsub_mode(void);
void led_display_mainloop(void);
void set_blue_display_mode(uint8_t mode);
void set_red_display_mode(uint8_t mode);

#endif

